package com.ws.eduservice.client;

import com.ws.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ws
 * @create 2024-12-10 16:19
 */
@Component
@FeignClient("service-oss")
public interface OssClient {

    @DeleteMapping("/eduoss/fileoss/delete")
    public R deleteFile(@RequestParam("url") String url);
}
